﻿using SmartHotel.Dto;
using SmartHotel.Menu;
using SmartHotel.Role.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace SmartHotel.Roles
{
        public interface ISmartHotelAppRoleService :IApplicationService
        {
        Task<ResultDto<List<RoleDto>>> GetRoleAsync();
        Task<ResultDto<CreateandUpdateRole>> CreateRoleAsync(CreateandUpdateRole input);
        Task<ResultDto<CreateandUpdateRole>> UpdateRoleAsync(int id,CreateandUpdateRole input);
        Task<ResultDto<bool>> DeleteRoleAsync(int id);
        Task<ResultDto<RoleDto>> GetFindRoleAsync(int id);
        Task<PageUserRoleDto<List<RoleDto>>> GetPageListRole(int pageIndex,int pageSize,string RoleName);
    }
}
